package com.yeskery.nut.extend.mcp.core;

import com.yeskery.nut.extend.mcp.core.schema.ResourceSchema;

/**
 * Mcp资源对象
 * @author sprout
 * 2025-04-24 15:13
 */
public class Resource {

    /** 资源对象 */
    private ResourceSchema.BaseResource resource;

    /**
     * 获取资源对象
     * @return 资源对象
     */
    public ResourceSchema.BaseResource getResource() {
        return resource;
    }

    /**
     * 设置资源对象
     * @param resource 资源对象
     */
    public void setResource(ResourceSchema.BaseResource resource) {
        this.resource = resource;
    }
}
